package com.guofen.service.hsmpy;

import com.guofen.pojo.HsmMiddleWorm;
import com.guofen.pojo.HsmSmallWorm;
//import org.omg.PortableInterceptor.INACTIVE;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface MiddleWormBreedingFeedService {
    List<Map<String, HsmSmallWorm>> getlist_fh();

    List<Map<String, HsmSmallWorm>> getlist_first();

    List<Map<String, HsmSmallWorm>> getlist_second();

    boolean add(Integer id, String batch, String worm_group, String small_bug_breed_box_number, String big_bug_breed_start_time, Double small_bug_box_material_weight, Double small_bug_material_weight,Integer number, Double per_bug_material_weight,
                Double big_bug_per_box_breed_material_weight, Integer serial, String go_where, String big_bug_breed_box_number, Double big_bug_number, Double big_bug_material_target_value, Double big_bug_material_get_value, String big_bug_breed_end_time);

    List<Map<String, HsmMiddleWorm>> getFirstList(Integer id);

    boolean first_add(Integer id, String big_bug_breed_start_time, String big_bug_breed_box_number, Integer num, Double big_bug_first_breed_material_w, String remark);

    List<Map<String, HsmMiddleWorm>> getFirstLatest();

    List<Map<String, HsmMiddleWorm>> getSecondList(Integer id);

    boolean second_add(Integer id, String second_feed_date, Double big_bug_second_breed_material_w, String remark) throws ParseException;

    List<Map<String, HsmMiddleWorm>> getSecondLatest();

    List<Map<String, HsmMiddleWorm>> getlist();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(HsmMiddleWorm record);
}
